Einhugur macOS Bridge plugin.

NSTextField.FromIntegerPtr Method

Constructs NSTextField object from Integer handle coming from declares or 3rd party plugin.

shared FromIntegerPtr(
   textIntPtr as Integer) as EinhugurMacOSBridge.NSTextField

Parameters

textIntPtr
Integer handle coming from declare or 3rd party plugin that points to live NSTextField object.

Returns

EinhugurMacOSBridge.NSTextField

Remarks

Do not pass integer in here that is not actually NSTextField handle, doing so would generate crash.

The NSTextField class will handle retaining the object once and releasing once the object once the NSTextField class is no longer used.

See Also

NSTextField Class